import $kt from "@/uni_modules/uniapp-kantboot/index.js";
/**
 * 获取当前企业
 */
function getCurrentEnterprise() {
    return {
        id: 1,
        name: 'Navitech PTE LTD'
    }
}

/**
 * 设置当前员工信息
 */
function setSelf(emp) {
    $kt.storage.set("emp:self", emp);
}

/**
 * 获取当前员工信息
 */
function getSelf() {
    return $kt.storage.get("emp:self");
}

export default {
    getCurrentEnterprise,
    setSelf,
    getSelf
}